package com.cdc.urls;

/**
 * Created by admin on 2018/4/11.
 */

public class Constants {

    public static final String IP="http://192.168.0.164:8080/";
    private static final String BASE="http://192.168.0.164:8080/api/";

    public static final String DOWNPATH="https://cdcdec.github.io/medias/code.mp4";

    public static final String PERSON(int id){
        return BASE+"person/"+id;
    }

    public static final String PERSONS(){
        return BASE+"persons";
    }

    public static final String PERSON_ORIGIN(int id){
        return BASE+"person?id="+id;
    }

    public static final String UPPERSON(){
        return BASE+"upPerson";
    }

    public static final String UPLOAD(){
        return BASE+"upload";
    }

    public static final String UPLOADS(){
        return BASE+"uploads";
    }







}
